<%@ page language="java" pageEncoding="utf-8"%>
<%@ page language="java" import="java.util.*"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"/>
<link rel="stylesheet" type="text/css" href="css/Result.css" />
<link rel="stylesheet" type="text/css" href="css/page.css" />
<link rel="stylesheet" type="text/css" href="css/files.css" />
<link rel="stylesheet" type="text/css" href="css/base_1.css" />
<script type="text/javascript" src="js/jquery-1.7.min.js"></script>
<script type="text/javascript" src="js/secloud.js"></script>
<title>国际研究生教育法律法规信息资料数据库</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<body>

  <s:include value="../home_top.jsp"/>
  <div id="m">
  	<p id="lg"><a href=""><img src="images/LogoMaker.jpg"  height="80" /></a></p>
	<div id="fm">
    	<s:form namespace="/file" action="searchFile" method="get">
			<s:hidden name="pageSize" value="15"></s:hidden>
			<s:hidden name="pageNow" value="1"></s:hidden>
			
			<s:textfield name="searchInfo" cssClass="kww"/>       	  
            <span class="btn_wr">
   	      	<s:submit value="%{getText('_Search')}" id="su" cssClass="btn" onmousedown="this.className='btn btn_h'" onmouse="this.className='btn'"/>
            </span>
            <span><a style="color:black;font-size:80%" href="javascript:void(0);" onclick="to_advance_search()"><s:text name="_AdvancedSearch"/></a></span>
        </s:form>
    </div>
    <div id="ad_search" style="display: none">
    	<s:include value="/advance_search.jsp"></s:include>
    	<div style="clear: both"></div>
    </div>
   </div>
    <p id="lm"></p>
    	<s:bean var="user_auth_3" name="com.prp.struts.bean.UserAuth">
					<s:param name="username" value="#session.username"/>
				</s:bean>
	<div class="cont" style="width:800px;margin-left:100px">
	<s:iterator value="fileList" id="file" status="stat">
	
	<s:if test="#user_auth_3.is_Admin || #file.state != 2">
    <div class="mod-sc">
        <div class="s-container"> 
        <div class="s-title" id="s_mod_topsearch_titleBar"> 
                <span class="s-topsearch-title">
				<a href="file/showInfo.action?itemID=<s:property value="#file.itemId"/>"><s:property value="#file.fileName"/></a>
					<s:if test="#file.state == 2">
						<span style="color:red"><s:text name="_Invisible"/></span>
					</s:if>
				</span>
            </div>
        	<table class="content" width="100%" border="0" cellpadding="2" cellspacing="0">          
                <tr> 
					<td><s:text name="_IssuingAgency"/>:<s:property value="#file.publishOrgan"/></td> 
				</tr> 
				<tr>
					<td><s:text name="_IssuingTime"/>:<s:date format="yyyy" name="#file.publishTime"/></td> 
				</tr>
				<tr> 
					<td><s:text name="_MainContent"/>：</td> 
				</tr> 
				<tr> 
					<td><s:property value="#file.mainContent"/></td> 
				</tr> 
                
            </table>
          </div>
    </div>
    </s:if>
	</s:iterator>
	<div style="clear:both; height:30px;"></div>
	<div class="messagepage">
		<p style="margin-left:20px"> <s:text name="_PageInfo">
		<s:param name="pageCount"><s:property value="pageCount"/></s:param>
		<s:param name="pageNow"><s:property value="pageNow"/></s:param>
		<s:param name="pageSize"><s:property value="pageSize"/></s:param>
		</s:text></p>
	  
	  <ul>
	  <li><a href="<s:url includeParams="get" encode="true">
	    	<s:param name="pageSize" value="pageSize"></s:param>
	    	<s:param name="pageNow" value="1"></s:param>	
          	</s:url>"
        ><s:text name="_HomePage"/></a>
       </li>
	  <li><a href="<s:url includeParams="get" encode="true">
	    	<s:param name="pageSize" value="pageSize"></s:param>
	    	<s:param name="pageNow" value="pageNow-1"></s:param>		    	
          	</s:url>"
        ><s:text name="_PreviousPage"/></a>
        </li>
      
	  <li><a href="<s:url includeParams="get" encode="true">
	    	<s:param name="pageSize" value="pageSize"></s:param>
	    	<s:param name="pageNow" value="pageNow+1"></s:param>	  	
          	</s:url>"
        ><s:text name="_NextPage"/></a>
        </li>
      <li><a href="<s:url includeParams="get" encode="true">
	    	<s:param name="pageSize" value="pageSize"></s:param>
	    	<s:param name="pageNow" value="pageCount/pageSize+1"></s:param>	 
          	</s:url>"
        ><s:text name="_LastPage"/></a>
        </li>
        </ul>
        </div>
        </div>
        
        <div>
    	<p id="cp">
    		©2011 G Search 
       	 	<a href="">使用前必读</a>
        	<a href="" target="_blank">京ICP证030173号</a>
    	</p>
    </div>
</body>
</html>
